@import './sidebar.css';

body, html {
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB',
  'Microsoft YaHei', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* 主内容区域调整 */
.main-content {
  transition: margin-left 0.3s ease;
  margin-left: 4vw; /* 默认侧边栏宽度 */
  width: 96vw; /* 100vw - 4vw侧边栏 = 96vw */
  width: 96vw;
  height: 100vh;
  overflow-y: auto;
  background: #0c1120;
  flex: 1;
}

.main-content.expanded {
  margin-left: 0;
}

/* 全局滚动条样式 */
::-webkit-scrollbar {
  width: 0.6vw;
  height: 0.3vh;
}

::-webkit-scrollbar-track {
  background: #0a0f1b;
}

::-webkit-scrollbar-thumb {
  background: #2d3a4b;
  border-radius: 0.3vw;
}

::-webkit-scrollbar-thumb:hover {
  background: #409EFF;
}

/* 卡片全局样式 */
.el-card {
  background: #121a2d !important;
  border: 1px solid #2d3a4b !important;
  color: #e6e6e6 !important;
  margin-bottom: 2vh;
}

.el-card__header {
  border-bottom: 1px solid #2d3a4b !important;
  background: #0e1525 !important;
  padding: 1.5vh 1.5vw;
}
